package com.sz.biz.common.project.service;

import com.sz.biz.common.project.entity.ProjectCompany;
import com.sz.common.base.dto.QResultDto;
import com.sz.common.base.dto.QueryParams;

import java.util.List;

/**
 * Function: TODO: ADD FUNCTION <br>
 * Author: qiankun<br>
 * Date: 2017-07-13 09:52:00
 */
public interface ProjectCompanyService {
    /**
     *
     * @param company
     * @return
     */
    int save(ProjectCompany company);

    int update(ProjectCompany company);

    void delete(int id);

    void batchDelete(List<Integer> ids);

    void deleteByProjectId(int project);

    /**
     *
     * @param project
     * @return
     */
    List<ProjectCompany> queryByProjectId(int project);

    QResultDto findByFilter(QueryParams queryParams);
}
